<?
include ("configs/config.php");
$tpl = new XTemplate("./template/tpl_admin.html");
$tpl->parse("main.body.menu");
$tpl->parse("main.body.center.mail");
$tpl->assign("headlines","Headlines");
		$result=mysql_query($query);
		ob_start();
		$_GET['zfcategory'] = "rss_left";
		include ('./newsfeeds/zfeeder.php');
		$links_left = ob_get_clean();
		$tpl->assign("left_links",$links_left);
		$tpl->parse("main.body.menu_left.section");
		$tpl->parse("main.body.menu_left");
		
		ob_start();
		$_GET['zfcategory']="rss_right";
		include ('./newsfeeds/zfeeder.php');
		$links_right = ob_get_clean();
		$tpl->assign("right_links",$links_right);
		$tpl->parse("main.body.menu_right.section");
		$tpl->parse("main.body.menu_right");

$tpl->parse("main.body.best_sites");
$tpl->parse("main.body");

$tpl->parse("main.head");
$tpl->parse("main.menu");
$tpl->parse("main");
$tpl->out("main");	

?>